package com.weblog.weblog.web.model.vo.search;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.weblog.weblog.common.modul.BasePageQuery;
import io.swagger.annotations.ApiModel;
import lombok.*;

import javax.validation.constraints.NotBlank;

/**
 * @author gc
 * @date 2023年12月06日 19:14
 */

@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel(value = "文章搜索VO")
public class SearchArticlePageListReqVO extends BasePageQuery {

    /**
     * 查询关键字
     */
    @NotBlank(message = "搜索关键字不能为空")
    private String word;
}
